//
//  HTModel.m
//  HappyTravel
//
//  Created by JiePan’s Mac on 2018/8/6.
//  Copyright © 2018年 Apple. All rights reserved.
//

#import "HTModel.h"

@implementation HTModel

- (void)encodeWithCoder:(NSCoder *)aCoder {
    
    [aCoder encodeObject:self.imagePhotos forKey:@"imagePhotos"];
    [aCoder encodeObject:self.content forKey:@"content"];
    [aCoder encodeObject:self.currentTime forKey:@"currentTime"];
}

- (id)initWithCoder:(NSCoder *)aDecoder {
    
    if (self = [super init]) {
        self.imagePhotos = [aDecoder decodeObjectForKey:@"imagePhotos"];
        self.content = [aDecoder decodeObjectForKey:@"content"];
        self.currentTime = [aDecoder decodeObjectForKey:@"currentTime"];
    }
    return self;
}






@end
